<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:34:"./views/admin/pc/index\index.phtml";i:1627629214;s:64:"E:\Web\test.zztuku.com\public\views\admin\pc\common\header.phtml";i:1626713902;s:65:"E:\Web\test.zztuku.com\public\views\admin\pc\common\sidebar.phtml";i:1626332484;s:65:"E:\Web\test.zztuku.com\public\views\admin\pc\common\ufooter.phtml";i:1627629214;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>管理系统 | 管理后台</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- 弹出框 -->
    <link rel="stylesheet" type="text/css" href="/static/plugins/SmallPop/spop.min.css">
    <!-- Bootstrap 3.3.7 -->
    <link rel="stylesheet" href="/static/plugins/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/static/plugins/font-awesome/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/static/plugins/Ionicons/css/ionicons.min.css">
    <!-- 图片展示插件样式 -->
    <link rel="stylesheet" href="/static/plugins/magnify/dist/jquery.magnify.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/static/plugins/AdminLTE/css/AdminLTE.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="/static/plugins/AdminLTE/css/skins/_all-skins.css">
    <!-- bootstrap wysihtml5 - text editor -->
    <link rel="stylesheet" href="/static/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/static/plugins/html5shiv.min.js"></script>
    <script src="/static/plugins/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript" src="/static/plugins/SmallPop/spop.min.js"></script>
    <!-- jQuery 3 -->
    <script src="/static/plugins/jquery/jquery.min.js"></script>
    <!-- Bootstrap 3.3.7 -->
    <script src="/static/plugins/bootstrap/js/bootstrap.min.js"></script>
    <!-- Bootstrap WYSIHTML5 -->
    <script src="/static/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
    <!-- 剪切板 -->
    <script type="text/javascript" src="/static/plugins/clipboard.min.js"></script>
    <!-- 图片展示插件 -->
    <script type="text/javascript" src="/static/plugins/magnify/dist/jquery.magnify.min.js"></script>
    <!-- AdminLTE App -->
    <script src="/static/plugins/AdminLTE/js/adminlte.min.js"></script>
    <!--引入JS-->
    <script src="/static/admin/web/js/global.js"></script>
    <style>
        .skin-blue .main-header .navbar,.skin-blue .main-header .logo{background-color:#20222A;}
    </style>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

    <header class="main-header">
        <!-- Logo -->
        <a href="/admin" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><b>系统</b></span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><b>管理系统</b></span>
        </a>
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                <span class="sr-only">Toggle navigation</span>
            </a>

            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <!-- User Account: style can be found in dropdown.less -->
                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <img onerror="this.src='/static/admin/web/images/avatar.png'" src="<?php echo to_media($admin['avatar']); ?>" class="user-image" alt="User Image">
                            <span class="hidden-xs"><?php echo $admin['username']; ?></span>
                        </a>
                        <ul class="dropdown-menu">
                            <!-- User image -->
                            <li class="user-header">
                                <img onerror="this.src='/static/admin/web/images/avatar.png'" src="<?php echo to_media($admin['avatar']); ?>" class="img-circle" alt="User Image">
                                <p>
                                    <?php echo $admin['username']; ?>
                                    <small><?php echo date('Y年m月d日'); ?></small>
                                </p>
                            </li>
                            <!-- Menu Body -->
                            <!-- Menu Footer-->
                            <li class="user-footer">
                                <div class="pull-left">
                                    <a href="<?php echo U('index/profile'); ?>" class="btn btn-default btn-flat">资料设置</a>
                                </div>
                                <div class="pull-right">
                                    <a href="<?php echo U('auth/login'); ?>" class="btn btn-default btn-flat">退出</a>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <img onerror="this.src='/static/admin/web/images/avatar.png'" src="<?php echo to_media($admin['avatar']); ?>" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
                <p><?php echo $admin['username']; ?></p>
                <a href="#"><i class="fa fa-circle text-success"></i>&#22312;&#32447;</a>
            </div>
        </div>

        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu" data-widget="tree">
            <li class="header">&#21151;&#33021;&#33756;&#21333;</li>
            <?php if(is_array($treeMenu) || $treeMenu instanceof \think\Collection || $treeMenu instanceof \think\Paginator): $i = 0; $__LIST__ = $treeMenu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$oo): $mod = ($i % 2 );++$i;if($oo['childnum'] == '0'): ?>
                <li <?php if(menuActive($oo['name'], $oo['level'])): ?>class="active"<?php endif; ?>><a href="<?php echo U($oo['name']); ?>"><i class="<?php echo $oo['icon']; ?>"></i><span><?php echo $oo['title']; ?></span></a></li>
                <?php elseif($oo['level'] == '1'): ?>
                <li class="treeview <?php if(menuActive($oo['name'], $oo['level'])): ?>active<?php endif; ?>">
                    <a href="javascript:void(0);">
                        <i class="<?php echo $oo['icon']; ?>"></i><span><?php echo $oo['title']; ?></span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu">
                        <?php if(is_array($oo['children']) || $oo['children'] instanceof \think\Collection || $oo['children'] instanceof \think\Paginator): $i = 0; $__LIST__ = $oo['children'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$to): $mod = ($i % 2 );++$i;?>
                        <li <?php if(menuActive($to['name'])): ?>class="active"<?php endif; ?>><a href="<?php echo U($to['name']); ?>"><i class="<?php echo $to['icon']; ?>"></i><?php echo $to['title']; ?></a></li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>

         

        
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>
<div class="content-wrapper">
    <section class="content-header">
        <h1>
           闲猫后台管理
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> &#x7F51;&#x7AD9;&#x7BA1;&#x7406;</a></li>
            <li class="active">&#x7F51;&#x7AD9;&#x8BBE;&#x7F6E;</li>
        </ol>
    </section>
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
            
                <div class="nav-tabs-custom">
               
                		<?php if($admin_id == 1): ?>
                    <!-- Tabs within a box -->
                    <ul class="nav nav-tabs">
                        <li class="active"><a href="#base" data-toggle="tab">&#x57FA;&#x672C;&#x8BBE;&#x7F6E;</a></li>
                        <li><a href="#seo" data-toggle="tab">SEO&#x8BBE;&#x7F6E;</a></li>
                        <li><a href="#email" data-toggle="tab" style="display:none;">&#x90AE;&#x7BB1;&#x914D;&#x7F6E;</a></li>
                        <li><a href="#credit" data-toggle="tab">&#x5956;&#x52B1;&#x8BBE;&#x7F6E;</a></li>
                        <li><a href="#task" data-toggle="tab">&#x4EFB;&#x52A1;&#x8BBE;&#x7F6E;</a></li>
                        <li><a href="#study" style="display:none;" data-toggle="tab">&#x6559;&#x7A0B;&#x8BBE;&#x7F6E;</a></li>
                        <li><a href="#linkregis" data-toggle="tab">推广链接</a></li>
                        <li><a href="#vipset" data-toggle="tab">会员设置</a></li>
                        <!--<li><a href="#vipzeng" data-toggle="tab">免费领取VIP设置</a></li>-->
                       <!-- <li><a href="#pet" data-toggle="tab">猫宠设置</a></li>-->
						<li><a href="#jc" data-toggle="tab">其他设置</a></li>
						<!--<li><a href="#rmsz" data-toggle="tab">人脉设置</a></li>-->
                    </ul>
                    <div class="page-content" style="padding: 20px 0">
                        <form method="post" class="form-horizontal form" id="post_form">
                            <div class="tab-content">
                                <div class="tab-pane active" id="base">
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x7F51;&#x7AD9;&#x540D;&#x79F0;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[title]" value="<?php echo !empty($config['setting']['title'])?$config['setting']['title']:''; ?>" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x7F51;&#x7AD9;&#x540D;&#x79F0;&#x6BD4;&#x5982;&#xFF1A;&#x4E91;&#x725B;&#x54C1;&#x8BBA;&#x575B;&#x9738;&#x5C4F;&#x5929;&#x4E0B;">
                                        </div>
                                    </div>
                                   <!-- <?php echo tpl_upload_image(['name'=>'setting[logo]','title' => '&#x7F51;&#x7AD9;logo','value'=>!empty($config['setting']['logo'])?$config['setting']['logo']:'','placeholder'=>'&#x8BF7;&#x4E0A;&#x4F20;&#x7F51;&#x7AD9;logo','help'=>'&#x5EFA;&#x8BAE;&#x5BBD;&#x9AD8;：138*56']); ?>
                                    <div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">QQ&#x7FA4;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[qq]" value="<?php echo !empty($config['setting']['qq'])?$config['setting']['qq']:''; ?>" placeholder="&#x8BF7;&#x8F93;&#x5165;QQ&#x7FA4;&#x53F7;&#x7801;">
                                        </div>
                                    </div>-->
                                    <div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x5BA2;&#x670D;&#x5FAE;&#x4FE1;&#x53F7;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[wechat]" value="<?php echo !empty($config['setting']['wechat'])?$config['setting']['wechat']:''; ?>" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x5BA2;&#x670D;&#x5FAE;&#x4FE1;&#x53F7;&#x7801;">
                                        </div>
                                    </div>
                                    <div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x5907;&#x6848;&#x4FE1;&#x606F;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[copyright]" value="<?php echo !empty($config['setting']['copyright'])?$config['setting']['copyright']:''; ?>" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x5907;&#x6848;&#x4FE1;&#x606F;">
                                        </div>
                                    </div>
                                    <div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x767E;&#x5EA6;&#x7EDF;&#x8BA1;&#x4EE3;&#x7801;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <textarea class="form-control" name="setting[baidu_stat]" maxlength="1000" rows="5" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x767E;&#x5EA6;&#x7EDF;&#x8BA1;&#x4EE3;&#x7801;"><?php echo !empty($config['setting']['baidu_stat'])?$config['setting']['baidu_stat']:''; ?></textarea>
                                        </div>
                                    </div>
                                    <div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x767E;&#x5EA6;&#x5546;&#x6865;&#x4EE3;&#x7801;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <textarea class="form-control" name="setting[baidu_chat]" maxlength="1000" rows="5" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x767E;&#x5EA6;&#x7EDF;&#x8BA1;&#x4EE3;&#x7801;"><?php echo !empty($config['setting']['baidu_chat'])?$config['setting']['baidu_chat']:''; ?></textarea>
                                        </div>
                                    </div>
									<div class="form-group"style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">绑定微信域名设置</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[yuming]" value="<?php echo !empty($config['setting']['yuming'])?$config['setting']['yuming']:''; ?>" placeholder="只写域名即可，不含http">
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane" id="seo">
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">SEO&#x6807;&#x9898;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <textarea class="form-control" name="setting[seo_title]" maxlength="255" placeholder="&#x8BF7;&#x8F93;&#x5165;SEO&#x6807;&#x9898;&#x6BD4;&#x5982;&#x4E91;&#x725B;&#x54C1;&#x8BBA;&#x575B;"><?php echo !empty($config['setting']['seo_title'])?$config['setting']['seo_title']:''; ?></textarea>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">SEO&#x5173;&#x952E;&#x8BCD;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <textarea class="form-control" name="setting[seo_keywords]" maxlength="255" placeholder="&#x8BF7;&#x8F93;&#x5165;SEO&#x5173;&#x952E;&#x8BCD;&#x6BD4;&#x5982;&#x4E91;&#x725B;&#x54C1;&#x6E90;&#x7801;"><?php echo !empty($config['setting']['seo_keywords'])?$config['setting']['seo_keywords']:''; ?></textarea>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">SEO&#x63CF;&#x8FF0;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <textarea class="form-control" name="setting[seo_description]" maxlength="255" placeholder="&#x8BF7;&#x8F93;&#x5165;SEO&#x63CF;&#x8FF0;&#x6BD4;&#x5982; &#x9738;&#x5C4F;&#x5929;&#x4E0B;&#x662F;&#x4E91;&#x725B;&#x54C1;&#x8BBA;&#x575B;&#x72EC;&#x5BB6;&#x5F00;&#x53D1;&#x7684;&#x65B0;&#x578B;&#x4F20;&#x5A92;&#x7CFB;&#x7EDF;"><?php echo !empty($config['setting']['seo_description'])?$config['setting']['seo_description']:''; ?></textarea>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane" id="email">
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">SMTP&#x670D;&#x52A1;&#x5668;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[SMTP_HOST]" value="<?php echo !empty($config['setting']['SMTP_HOST'])?$config['setting']['SMTP_HOST']:''; ?>" placeholder="&#x8BF7;&#x8F93;&#x5165;SMTP&#x670D;&#x52A1;&#x5668;&#x5730;&#x5740;">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">SMTP&#x670D;&#x52A1;&#x5668;&#x7AEF;&#x53E3;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[SMTP_PORT]" value="<?php echo !empty($config['setting']['SMTP_PORT'])?$config['setting']['SMTP_PORT']:''; ?>" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x7AEF;&#x53E3;&#x53F7;">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">SMTP&#x670D;&#x52A1;&#x5668;&#x7528;&#x6237;&#x540D;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[SMTP_USER]" value="<?php echo !empty($config['setting']['SMTP_USER'])?$config['setting']['SMTP_USER']:''; ?>" placeholder="请输入用户名">
                                            <span class="help-block">&#x90AE;&#x7BB1;&#x5730;&#x5740;</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">SMTP&#x670D;&#x52A1;&#x5668;&#x5BC6;&#x7801;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[SMTP_PASS]" value="<?php echo !empty($config['setting']['SMTP_PASS'])?$config['setting']['SMTP_PASS']:''; ?>" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x5BC6;&#x7801;">
                                            <span class="help-block">&#x7533;&#x8BF7;SMTP&#x670D;&#x52A1;&#x5668;&#x7684;&#x5BC6;&#x7801;</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x53D1;&#x4EF6;&#x4EBA;&#x90AE;&#x7BB1;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[FROM_EMAIL]" value="<?php echo !empty($config['setting']['FROM_EMAIL'])?$config['setting']['FROM_EMAIL']:''; ?>" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x90AE;&#x7BB1;&#x5730;&#x5740;">
                                            <span class="help-block">&#x7533;&#x8BF7;SMTP&#x670D;&#x52A1;&#x5668;&#x7684;&#x90AE;&#x7BB1;&#x5730;&#x5740;</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x53D1;&#x4EF6;&#x4EBA;&#x540D;&#x79F0;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[FROM_NAME]" value="<?php echo !empty($config['setting']['FROM_NAME'])?$config['setting']['FROM_NAME']:''; ?>" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x59D3;&#x540D;&#x3001;&#x516C;&#x53F8;&#x540D;&#x3001;&#x53D1;&#x4EF6;&#x4EBA;">
                                            <span class="help-block">&#x90AE;&#x4EF6;&#x53D1;&#x9001;&#x663E;&#x793A;&#x7684;&#x53D1;&#x9001;&#x4EBA;&#x59D3;&#x540D;&#x3001;&#x516C;&#x53F8;&#x540D;&#x79F0;&#x7B49;</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x6D4B;&#x8BD5;&#x90AE;&#x7BB1;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[TEST_EMAIL]" value="<?php echo !empty($config['setting']['TEST_EMAIL'])?$config['setting']['TEST_EMAIL']:''; ?>" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x6D4B;&#x8BD5;&#x6536;&#x4EF6;&#x4EBA;&#x90AE;&#x7BB1;&#x5730;&#x5740;">
                                            <span class="help-block js-send-email" style="cursor: pointer;">&#x70B9;&#x51FB;&#x53D1;&#x9001;&#x6D4B;&#x8BD5;&#x90AE;&#x4EF6;</span>
                                        </div>
                                    </div>
                                    <script type="text/javascript">
                                        $(function () {
                                            //&#x53D1;&#x9001;&#x6D4B;&#x8BD5;&#x90AE;&#x4EF6;
                                            $(".js-send-email").click(function () {
                                                message('正在发送','','info');
                                                var email = $(this).prev().val();
                                                $.post(
                                                    "<?php echo U('test/email'); ?>",
                                                    {email:email},
                                                    function (res) {
                                                        message(res.message,res.redirect,res.type)
                                                    },'json'
                                                );
                                            });
                                        });
                                    </script>
                                </div>
                                <div class="tab-pane" id="credit">
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">徒弟首次完成任务奖励</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">奖励</span>
                                                <input type="number" name="setting[invitation_first_task_award]" value="<?php echo !empty($config['setting']['invitation_first_task_award'])?$config['setting']['invitation_first_task_award']:'0'; ?>" class="form-control" placeholder="会员第一次做任务奖励师傅">
                                                <span class="input-group-addon">&#x5143;</span>
                                            </div>
                                            <span class="help-block">不开启设置为0</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">徒孙首次完成任务奖励</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">奖励</span>
                                                <input type="number" name="setting[shiye]" value="<?php echo !empty($config['setting']['shiye'])?$config['setting']['shiye']:'0'; ?>" class="form-control" placeholder="徒孙首次完成奖励">
                                                <span class="input-group-addon">元</span>
                                            </div>
                                            <span class="help-block">不开启设置为0</span>
                                        </div>
                                    </div>
                                    
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">邀请好友排行榜时间</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">开始时间</span>
                                                <input type="date" name="setting[invite_start_time]" value="<?php echo (isset($config['setting']['invite_start_time']) && ($config['setting']['invite_start_time'] !== '')?$config['setting']['invite_start_time']:''); ?>" class="form-control" placeholder="请选择时间">
                                                <span class="input-group-addon"></span>
                                            </div>
                                            
                                            
                                            <div class="input-group">
                                                <span class="input-group-addon">结束时间</span>
                                                <input type="date" name="setting[invite_end_time]" value="<?php echo (isset($config['setting']['invite_end_time']) && ($config['setting']['invite_end_time'] !== '')?$config['setting']['invite_end_time']:''); ?>" class="form-control" placeholder="请选择时间">
                                                <span class="input-group-addon"></span>
                                            </div>
                                       
                                       
                                       
                                       
                                        </div>
                                    </div>
                                    
                                    <div class="form-group"style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x9080;&#x8BF7;&#x63D0;&#x73B0;&#x8FD4;&#x5229;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">&#x63D0;&#x73B0;&#x65F6;&#x8FD4;&#x5229;</span>
                                                <input type="number" name="setting[invitation_withdraw_rebate]" value="<?php echo !empty($config['setting']['invitation_withdraw_rebate'])?$config['setting']['invitation_withdraw_rebate']:'0'; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x9080;&#x8BF7;&#x8FD4;&#x5229;">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">&#x4F1A;&#x5458;&#x63D0;&#x73B0;&#x91D1;&#x989D;&#x767E;&#x5206;&#x4E4B;&#x51E0;&#x6263;&#x9664;&#x7ED9;&#x9080;&#x8BF7;&#x4E0A;&#x7EBF;&#xFF0C;&#x5173;&#x95ED;&#x8BF7;&#x8BBE;&#x7F6E;&#x4E3A;0</span>
                                        </div>
                                    </div>
                                    <div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">一级推广</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">做任务奖励</span>
                                                <input type="number" name="setting[invitation_rebate]" value="<?php echo !empty($config['setting']['invitation_rebate'])?$config['setting']['invitation_rebate']:'0'; ?>" class="form-control" placeholder="请输入邀请返利">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">下线做任务每份百分之几给邀请上级</span>
                                        </div>
                                    </div>                                    
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">一级推广</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">做任务奖励</span>
                                                <input type="number" name="setting[invitation_one_rebate]" value="<?php echo !empty($config['setting']['invitation_one_rebate'])?$config['setting']['invitation_one_rebate']:'0'; ?>" class="form-control" placeholder="请输入邀请返利">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">下线做任务每份百分之几给邀请上级</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">二级推广</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">做任务奖励</span>
                                                <input type="number" name="setting[invitation_two_rebate]" value="<?php echo !empty($config['setting']['invitation_two_rebate'])?$config['setting']['invitation_two_rebate']:'0'; ?>" class="form-control" placeholder="请输入邀请返利">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">下线做任务每份百分之几给邀请上级</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">三级推广</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">做任务奖励</span>
                                                <input type="number" name="setting[invitation_three_rebate]" value="<?php echo !empty($config['setting']['invitation_three_rebate'])?$config['setting']['invitation_three_rebate']:'0'; ?>" class="form-control" placeholder="请输入邀请返利">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">下线做任务每份百分之几给邀请上级</span>
                                        </div>
                                    </div> 
                                    
                                    
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">vip一级推广</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">做任务奖励</span>
                                                <input type="number" name="setting[invitation_vip_one_rebate]" value="<?php echo !empty($config['setting']['invitation_vip_one_rebate'])?$config['setting']['invitation_vip_one_rebate']:'0'; ?>" class="form-control" placeholder="请输入邀请返利">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">下线做任务每份百分之几给邀请上级</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">vip二级推广</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">做任务奖励</span>
                                                <input type="number" name="setting[invitation_vip_two_rebate]" value="<?php echo !empty($config['setting']['invitation_vip_two_rebate'])?$config['setting']['invitation_vip_two_rebate']:'0'; ?>" class="form-control" placeholder="请输入邀请返利">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">下线做任务每份百分之几给邀请上级</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">vip三级推广</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">做任务奖励</span>
                                                <input type="number" name="setting[invitation_vip_three_rebate]" value="<?php echo !empty($config['setting']['invitation_vip_three_rebate'])?$config['setting']['invitation_vip_three_rebate']:'0'; ?>" class="form-control" placeholder="请输入邀请返利">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">下线做任务每份百分之几给邀请上级</span>
                                        </div>
                                    </div>                                    
                                   <!-- <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">会员邀请好友宠物领奖返利</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">&#x505A;&#x4EFB;&#x52A1;&#x5956;&#x52B1;</span>
                                                <input type="number" name="setting[vip_rebate]" value="<?php echo !empty($config['setting']['vip_rebate'])?$config['setting']['vip_rebate']:'0'; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x9080;&#x8BF7;&#x8FD4;&#x5229;">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">招财猫提成</span>
                                        </div>
                                    </div>
                                    
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">非会员邀请好友宠物领奖返利</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">&#x505A;&#x4EFB;&#x52A1;&#x5956;&#x52B1;</span>
                                                <input type="number" name="setting[notinvitation_rebate]" value="<?php echo !empty($config['setting']['notinvitation_rebate'])?$config['setting']['notinvitation_rebate']:'0'; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x9080;&#x8BF7;&#x8FD4;&#x5229;">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">招财猫提成</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x6BCF;&#x65E5;&#x7B7E;&#x5230;&#x8BBE;&#x7F6E;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">&#x6BCF;&#x65E5;&#x7B7E;&#x5230;&#x9001;</span>
                                                <input type="number" name="setting[sign_give_credit1]" value="<?php echo !empty($config['setting']['sign_give_credit1'])?$config['setting']['sign_give_credit1']:''; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x91D1;&#x989D;">
                                                <span class="input-group-addon">&#x732b;&#x5e01;</span>
                                            </div>
                                            <span class="help-block">&#x732b;&#x5e01;</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x8FDE;&#x7EED;&#x7B7E;&#x5230;&#x8BBE;&#x7F6E;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">&#x8FDE;&#x63A5;&#x7B7E;&#x5230;&#x500D;&#x6570;</span>
                                                <input type="number" name="setting[sign_continue_give]" value="<?php echo !empty($config['setting']['sign_continue_give'])?$config['setting']['sign_continue_give']:''; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x500D;&#x6570;">
                                            </div>
                                            <span class="help-block">&#x4F8B;&#x5982;&#xFF0C;&#x8BBE;&#x7F6E;&#x4E3A;2&#xFF0C;&#x7B2C;&#x4E00;&#x5929;&#x7B7E;&#x5230;&#x9886;2&#x5206;,&#x7B2C;&#x4E8C;&#x5929;&#x7B7E;&#x5230;4&#x5206;&#xFF0C;&#x7B2C;&#x4E09;&#x5929;6&#x5206;&#xFF0C;&#x5982;&#x679C;&#x9694;&#x4E00;&#x5929;&#x6CA1;&#x7B7E;&#x5230;&#xFF0C;&#x4ECE;&#x5934;&#x5F00;&#x59CB;&#x8BA1;&#x7B97;</span>
                                        </div>
                                    </div>-->
									<div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">新手任务奖励积分</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">奖励积分数量</span>
                                                <input type="number" name="setting[renzheng]" value="<?php echo !empty($config['setting']['renzheng'])?$config['setting']['renzheng']:''; ?>" class="form-control" placeholder="请输入奖励积分数量">
                                            </div>
                                            
                                        </div>
                                    </div>
									<div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">新手任务奖励金额</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">奖励金额数量</span>
                                                <input type="number" name="setting[renzheng2]" value="<?php echo !empty($config['setting']['renzheng2'])?$config['setting']['renzheng2']:''; ?>" class="form-control" placeholder="请输入奖励金额数量">
                                            </div>
                                           
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane" id="task">
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">扣除佣金</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">扣除佣金</span>
                                                <input type="number" name="setting[kc_money]" value="<?php echo !empty($config['setting']['kc_money'])?$config['setting']['kc_money']:0; ?>" class="form-control" placeholder="扣除佣金">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">如设置10%，发布任务的奖励金额为：100元，则扣除100*10%，任务奖励金额90</span>
                                        </div>
                                    </div>                                    
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x63D0;&#x73B0;&#x6700;&#x4F4E;&#x91D1;&#x989D;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">&#x6700;&#x4F4E;&#x91D1;&#x989D;</span>
                                                <input type="number" name="setting[withdraw_min]" value="<?php echo !empty($config['setting']['withdraw_min'])?$config['setting']['withdraw_min']:0; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x670D;&#x52A1;&#x8D39;&#x7387;">
                                                <span class="input-group-addon">&#x5143;</span>
                                            </div>
                                            <span class="help-block">&#x5982;&#x8BBE;&#x7F6E;1&#xFF0C;&#x63D0;&#x73B0;&#x6700;&#x4F4E;&#x91D1;&#x989D;&#x4E3A;&#xFF1A;1&#x5143;</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x63D0;&#x73B0;&#x624B;&#x7EED;&#x8D39;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">&#x63D0;&#x73B0;&#x91D1;&#x989D;&#x7684;</span>
                                                <input type="number" name="setting[withdraw_fee]" value="<?php echo !empty($config['setting']['withdraw_fee'])?$config['setting']['withdraw_fee']:0; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x670D;&#x52A1;&#x8D39;&#x7387;">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">&#x5982;&#x8BBE;&#x7F6E;10%&#xFF0C;&#x63D0;&#x73B0;&#x91D1;&#x989D;&#x4E3A;&#xFF1A;100&#x5143;&#xFF0C;&#x5219;&#x6263;&#x9664;100*10%=10&#x5143;&#x624B;&#x7EED;&#x8D39;</span>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">VIP提现手续费</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">提现金额的</span>
                                                <input type="number" name="setting[withdraw_fee_member]" value="<?php echo !empty($config['setting']['withdraw_fee_member'])?$config['setting']['withdraw_fee_member']:0; ?>" class="form-control" placeholder="请输入VIP提现金额">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">&#x5982;&#x8BBE;&#x7F6E;10%&#xFF0C;&#x63D0;&#x73B0;&#x91D1;&#x989D;&#x4E3A;&#xFF1A;100&#x5143;&#xFF0C;&#x5219;&#x6263;&#x9664;100*10%=10&#x5143;&#x624B;&#x7EED;&#x8D39;</span>
                                        </div>
                                    </div>
                                    <!--<div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">任务积分奖励</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">单价的</span>
                                                <input type="number" name="setting[jifenbeishu]" value="<?php echo !empty($config['setting']['jifenbeishu'])?$config['setting']['jifenbeishu']:0; ?>" class="form-control" placeholder="请输入积分奖励">
                                                <span class="input-group-addon">倍</span>
                                            </div>
                                            <span class="help-block">如设置100，任务单价奖励为：100元，则任务完成加积分10000</span>
                                        </div>
                                    </div>-->




                                    <div class="form-group"style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x670D;&#x52A1;&#x8D39;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">&#x5956;&#x52B1;&#x91D1;&#x989D;&#x7684;</span>
                                                <input type="number" name="setting[fee]" value="<?php echo !empty($config['setting']['fee'])?$config['setting']['fee']:0; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x670D;&#x52A1;&#x8D39;&#x7387;">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">&#x5982;&#x8BBE;&#x7F6E;10%&#xFF0C;&#x53D1;&#x5E03;&#x4EFB;&#x52A1;&#x7684;&#x5956;&#x52B1;&#x91D1;&#x989D;&#x4E3A;&#xFF1A;100&#x5143;&#xFF0C;&#x5219;&#x6263;&#x9664;100*10%=10&#x5143;&#x624B;&#x7EED;&#x8D39;</span>
                                        </div>
                                    </div>


                                    <div class="form-group"style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">VIP服务费</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">奖励金额的</span>
                                                <input type="number" name="setting[fee_member]" value="<?php echo !empty($config['setting']['fee_member'])?$config['setting']['fee_member']:0; ?>" class="form-control" placeholder="请输入VIP服务费">
                                                <span class="input-group-addon">%</span>
                                            </div>
                                            <span class="help-block">如设置10%，发布任务的奖励金额为：100元，则扣除100*10%=10元手续费</span>
                                        </div>
                                    </div>


                                    <div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x5BA1;&#x6838;&#x5468;&#x671F;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[period]" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x5C0F;&#x65F6;&#x6570;&#xFF0C;&#x591A;&#x4E2A;'#'&#x9694;&#x5F00;" value="<?php echo !empty($config['setting']['period'])?$config['setting']['period']:''; ?>">
                                            <span class="help-block">&#x8F93;&#x5165;0&#x4EE3;&#x8868;&#x514D;&#x5BA1;&#x6838;&#xFF0C;1&#x4EE3;&#x8868;1&#x5C0F;&#x65F6;&#xFF0C;&#x591A;&#x4E2A;&#x6570;&#x5B57;&#x8BF7;&#x7528;#&#x5206;&#x5272;&#xFF0C;&#x5982;0#6#12</span>
                                        </div>
                                    </div>
                                    <div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x9650;&#x901F;&#x9891;&#x7387;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[speed]" value="<?php echo !empty($config['setting']['speed'])?$config['setting']['speed']:0; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x5206;&#x949F;&#x6570;">
                                                <span class="input-group-addon">&#x5206;&#x949F;</span>
                                            </div> 
                                            <span class="help-block">&#x5982;&#x8BBE;&#x7F6E;5&#xFF0C;&#x4EE3;&#x8868;&#x53D1;&#x5E03;&#x4EFB;&#x52A1;&#x65F6;&#x53EF;&#x8BBE;&#x7F6E;5&#x5206;&#x949F;&#x5185;&#x9650;&#x5236;&#x7684;&#x62A2;&#x5355;&#x4EBA;&#x6570;</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x5E73;&#x53F0;&#x5BA1;&#x6838;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <label class="radio-inline">
                                                <input type="radio" name="setting[push_check]" value="1" <?php echo !empty($config['setting']['push_check'])?'checked':''; ?>>
                                                &#x5F00;&#x542F;
                                            </label>
                                            <label class="radio-inline">
                                                <input type="radio" name="setting[push_check]" value="0" <?php echo !empty($config['setting']['push_check'])?'':'checked'; ?>>
                                                &#x5173;&#x95ED;
                                            </label>
                                            <span class="help-block">&#x5F00;&#x542F;&#x540E;&#xFF0C;&#x53D1;&#x5E03;&#x7684;&#x4EFB;&#x52A1;&#x9700;&#x8981;&#x5E73;&#x53F0;&#x5BA1;&#x6838;&#x540E;&#x624D;&#x80FD;&#x663E;&#x793A;</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x7F6E;&#x9876;&#x8D39;&#x7528;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[top_fee]" value="<?php echo !empty($config['setting']['top_fee'])?$config['setting']['top_fee']:0; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x7F6E;&#x9876;&#x8D39;&#x7528;">
                                                <span class="input-group-addon">&#x5143;</span>
                                            </div>
                                            <span class="help-block">&#x5982;&#x8BBE;&#x7F6E;15&#xFF0C;&#x7F6E;&#x9876;&#x8D39;&#x7528;&#x4E3A;&#x6BCF;&#x5C0F;&#x65F6;15&#x5143;</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x7F6E;&#x9876;&#x9650;&#x65F6;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[top_max_hour]" value="<?php echo !empty($config['setting']['top_max_hour'])?$config['setting']['top_max_hour']:0; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x7F6E;&#x9876;&#x9650;&#x65F6;">
                                                <span class="input-group-addon">&#x5C0F;&#x65F6;</span>
                                            </div>
                                            <span class="help-block">&#x5982;&#x8BBE;&#x7F6E;5&#xFF0C;&#x6700;&#x591A;&#x80FD;&#x7F6E;&#x9876;5&#x4E2A;&#x5C0F;&#x65F6;</span>
                                        </div>
                                    </div>
                                    <div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x63A5;&#x5355;&#x9650;&#x65F6;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[receive_order_limit_time]" value="<?php echo !empty($config['setting']['receive_order_limit_time'])?$config['setting']['receive_order_limit_time']:0; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x63A5;&#x5355;&#x9650;&#x65F6;&#x5206;&#x949F;&#x6570;">
                                                <span class="input-group-addon">&#x5206;&#x949F;</span>
                                            </div>
                                            <span class="help-block">&#x5982;&#x8BBE;&#x7F6E;5&#xFF0C;&#x7528;&#x6237;&#x62A2;&#x5355;&#x540E;5&#x5206;&#x949F;&#x5185;&#x672A;&#x4E0A;&#x4F20;&#x9A8C;&#x8BC1;&#xFF0C;&#x62A2;&#x5355;&#x5C06;&#x81EA;&#x5DF1;&#x5220;&#x9664;</span>
                                        </div>
                                    </div>
                                    <div class="form-group" style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">&#x5BA1;&#x6838;&#x9650;&#x65F6;</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[check_order_limit_time]" value="<?php echo !empty($config['setting']['check_order_limit_time'])?$config['setting']['check_order_limit_time']:0; ?>" class="form-control" placeholder="&#x8BF7;&#x8F93;&#x5165;&#x5BA1;&#x6838;&#x9650;&#x65F6;">
                                                <span class="input-group-addon">&#x5C0F;&#x65F6;</span>
                                            </div>
                                            <span class="help-block">&#x5982;&#x8BBE;&#x7F6E;1&#xFF0C;&#x4EE3;&#x8868;&#x96C7;&#x4E3B;&#x53D1;&#x5E03;&#x4EFB;&#x52A1;&#x540E;1&#x5C0F;&#x65F6;&#x5185;&#x4E0D;&#x5BA1;&#x6838;&#x4EFB;&#x52A1;&#xFF0C;&#x7CFB;&#x7EDF;&#x4F1A;&#x81EA;&#x52A8;&#x5BA1;&#x6838;&#x901A;&#x8FC7;&#xFF0C;&#x4F63;&#x91D1;&#x8FDB;&#x5165;&#x7528;&#x6237;&#x5E10;&#x53F7;&#x4E2D;</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane" id="study">
                                    <?php echo tpl_ueditor(['title'=>'&#x63A5;&#x4EFB;&#x52A1;&#x6559;&#x7A0B;','name'=>'setting[join_task_detail]','value'=>!empty($config['setting']['join_task_detail'])?$config['setting']['join_task_detail']:'']); ?>
                                    <?php echo tpl_ueditor(['title'=>'&#x53D1;&#x4EFB;&#x52A1;&#x6559;&#x7A0B;','name'=>'setting[push_task_detail]','value'=>!empty($config['setting']['push_task_detail'])?$config['setting']['push_task_detail']:'']); ?>
                                </div>





                                <div class="tab-pane" id="linkregis">
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">推广链接</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <input type="text" class="form-control" name="setting[linkregis]" value="<?php echo !empty($config['setting']['linkregis'])?$config['setting']['linkregis']:''; ?>" placeholder="例如:  http://www.baidu.com/ ">
                                        </div>
                                    </div>
                                    <!--<div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">邀请用户首次提现成功</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">奖励</span>
                                                <input type="number" name="setting[tixianjiangliyuan]" value="<?php echo !empty($config['setting']['tixianjiangliyuan'])?$config['setting']['tixianjiangliyuan']:0; ?>" class="form-control" placeholder="请输入奖励金额">
                                                <span class="input-group-addon">元</span>
                                            </div>
                                            <span class="help-block">如设置10，则邀请人在被邀请人首次提现成功时奖励10元</span>
                                        </div>
                                    </div>-->
                                    <div class="form-group"style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">邀请用户首次提现成功</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">奖励</span>
                                                <input type="number" name="setting[tixianjianglijifen]" value="<?php echo !empty($config['setting']['tixianjianglijifen'])?$config['setting']['tixianjianglijifen']:0; ?>" class="form-control" placeholder="请输入奖励积分">
                                                <span class="input-group-addon">积分</span>
                                            </div>
                                            <span class="help-block">如设置10，则邀请人在被邀请人首次提现成功时奖励10积分</span>
                                        </div>
                                    </div>
                                </div>



                    <div class="tab-pane" id="vipset">
                        
                        <div class="form-group"style="display:none;">
                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">会员有效期</label>
                            <div class="col-sm-6 col-xs-12">
                                <div class="input-group">
                                    <span class="input-group-addon">会员有效期</span>
                                    <input type="number" name="setting[viptime]" value="<?php echo !empty($config['setting']['viptime'])?$config['setting']['viptime']:0; ?>" class="form-control" placeholder="请输入会员有效期">
                                    <span class="input-group-addon">天</span>
                                </div>
                                <span class="help-block">如设置10，则会员的有效期为10天</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">每日赠送置顶小时</label>
                            <div class="col-sm-6 col-xs-12">
                                <div class="input-group">
                                    <span class="input-group-addon">赠送vip置顶</span>
                                    <input type="number" name="setting[zengtop]" value="<?php echo !empty($config['setting']['zengtop'])?$config['setting']['zengtop']:0; ?>" class="form-control" placeholder="请输入vip赠送的置顶时间">
                                    <span class="input-group-addon">小时</span>
                                </div>
                                <span class="help-block">如设置10，则每天赠送vip置顶时间10小时</span>
                            </div>
                        </div>
                 
                <div class="form-group" style="display:none;">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">实名认证获得积分</label>
                    <div class="col-sm-6 col-xs-12">
                        <div class="input-group">
                            <span class="input-group-addon">赠送</span>
                            <input type="number" name="setting[renzheng]" value="<?php echo !empty($config['setting']['renzheng'])?$config['setting']['renzheng']:0; ?>" class="form-control" placeholder="请输入实名认证获得积分">
                            <span class="input-group-addon">积分</span>
                        </div>

                    </div>
                </div>
                      <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">VIP置顶费用</label>
                    <div class="col-sm-6 col-xs-12">
                        <div class="input-group">
                            <span class="input-group-addon">VIP置顶每小时</span>
                            <input type="number" name="setting[vipzhiding]" value="<?php echo !empty($config['setting']['vipzhiding'])?$config['setting']['vipzhiding']:0; ?>" class="form-control" placeholder="请输入VIP置顶费用">
                            <span class="input-group-addon">元</span>
                        </div>

                    </div>
                </div>
                
                
                
                <div class="form-group"style="display:none;">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">排行榜用户</label>
                    <div class="col-sm-6 col-xs-12">
                        <div class="input-group">
                            <span class="input-group-addon">用户ID</span>
                        	<textarea class="form-control" rows='5' name="setting[special_user]"><?php echo !empty($config['setting']['special_user'])?$config['setting']['special_user']:''; ?></textarea>
                        
                            <span class="input-group-addon">用,隔开</span>
                        </div>

                    </div>
                </div>

                <div class="form-group"style="display:none;">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">增加幅度</label>
                    <div class="col-sm-6 col-xs-12">
                        <div class="input-group">
                            <span class="input-group-addon">增加幅度</span>
                            <textarea class="form-control" rows='5' name="setting[range]"><?php echo !empty($config['setting']['range'])?$config['setting']['range']:''; ?></textarea>
                            
                            <span class="input-group-addon">用@隔开</span>
                        </div>

                    </div>
                </div>
                
                
                
                
                </div>
                                <div class="tab-pane" id="vipzeng">
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">任务条件</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">完成</span>
                                                <input type="number" name="setting[vipsendtask]" value="<?php echo !empty($config['setting']['vipsendtask'])?$config['setting']['vipsendtask']:0; ?>" class="form-control" placeholder="请输入免费领取VIP需要完成的任务个数">
                                                <span class="input-group-addon">个任务</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">有效好友条件</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">推广</span>
                                                <input type="number" name="setting[vipsendpeople]" value="<?php echo !empty($config['setting']['vipsendpeople'])?$config['setting']['vipsendpeople']:0; ?>" class="form-control" placeholder="请输入免费领取VIP需要推荐的有效好友个数">
                                                <span class="input-group-addon">个有效好友</span>
                                            </div>
                                            <span class="help-block">有效好友是指被推广的对象完成首次提现</span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">赠送VIP天数</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <span class="input-group-addon">赠送</span>
                                                <input type="number" name="setting[vipsendday]" value="<?php echo !empty($config['setting']['vipsendday'])?$config['setting']['vipsendday']:0; ?>" class="form-control" placeholder="请输入免费赠送的天数">
                                                <span class="input-group-addon">天</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <div class="tab-pane" id="pet">                                                                       
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">购买猫宠积分</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[unit_price]" value="<?php echo !empty($config['setting']['unit_price'])?$config['setting']['unit_price']:0; ?>" class="form-control" placeholder="请输入购买猫宠单价">
                                                <span class="input-group-addon">积分</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">猫宠每日分红</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[bonus]" value="<?php echo !empty($config['setting']['bonus'])?$config['setting']['bonus']:0; ?>" class="form-control" placeholder="请输入购猫宠每日分红">
                                                <span class="input-group-addon">金币</span>
                                            </div>
                                        </div>
                                    </div>
								<div class="form-group" style="display:none;">
                                        ><label class="col-xs-12 col-sm-3 col-md-2 control-label">每只宠物所需要获取的积分数</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[pet_need]" value="<?php echo !empty($config['setting']['pet_need'])?$config['setting']['pet_need']:0; ?>" class="form-control" placeholder="请输入每只宠物所需要获取的积分数">
                                                <span class="input-group-addon">币</span>
                                            </div>
                                        </div>
                                      
                                    </div>
									<div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">每获取多少分红失去一只宠物</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[lost_price]" value="<?php echo !empty($config['setting']['lost_price'])?$config['setting']['lost_price']:0; ?>" class="form-control">
                                                <span class="input-group-addon">金币</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
								
								 <div class="tab-pane" id="jc">                                                                       
                                    <div class="form-group"style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">系统投入奖池奖金倍数</label>
                                        <div class="col-sm-6 col-xs-12"style="display:none;">
                                            <div class="input-group"style="display:none;">
                                                <input type="number" name="setting[jc_jine]" value="<?php echo !empty($config['setting']['jc_jine'])?$config['setting']['jc_jine']:0; ?>" class="form-control" placeholder="请输入系统投入奖池奖金倍数">
                                                <span class="input-group-addon">倍</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group"style="display:none;">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">系统投入奖池积分倍数</label>
                                        <div class="col-sm-6 col-xs-12"style="display:none;">
                                            <div class="input-group"style="display:none;">
                                                <input type="number" name="setting[jc_maobi]" value="<?php echo !empty($config['setting']['jc_maobi'])?$config['setting']['jc_maobi']:0; ?>" class="form-control" placeholder="请输入系统投入奖池积分倍数">
                                                <span class="input-group-addon">倍</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>


								 <div class="tab-pane" id="rmsz">                                                                       
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">个人微信费用</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[rm_fee_1]" value="<?php echo !empty($config['setting']['rm_fee_1'])?$config['setting']['rm_fee_1']:0; ?>" class="form-control" placeholder="请输入费用">
                                                <span class="input-group-addon">元</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">微信群费用</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[rm_fee_2]" value="<?php echo !empty($config['setting']['rm_fee_2'])?$config['setting']['rm_fee_2']:0; ?>" class="form-control" placeholder="请输入微信群价格">
                                                <span class="input-group-addon">元</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">小程序费用</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[rm_fee_4]" value="<?php echo !empty($config['setting']['rm_fee_4'])?$config['setting']['rm_fee_4']:0; ?>" class="form-control" placeholder="请输入小程序价格">
                                                <span class="input-group-addon">元</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">公众号费用</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[rm_fee_5]" value="<?php echo !empty($config['setting']['rm_fee_5'])?$config['setting']['rm_fee_5']:0; ?>" class="form-control" placeholder="请输入价格">
                                                <span class="input-group-addon">元</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">微商费用</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[rm_fee_3]" value="<?php echo !empty($config['setting']['rm_fee_3'])?$config['setting']['rm_fee_3']:0; ?>" class="form-control" placeholder="请输入价格">
                                                <span class="input-group-addon">元</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">qq群费用</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[rm_fee_6]" value="<?php echo !empty($config['setting']['rm_fee_6'])?$config['setting']['rm_fee_6']:0; ?>" class="form-control" placeholder="请输入价格">
                                                <span class="input-group-addon">元</span>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <div class="form-group">
                                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">刷新费用</label>
                                        <div class="col-sm-6 col-xs-12">
                                            <div class="input-group">
                                                <input type="number" name="setting[rm_refresh]" value="<?php echo !empty($config['setting']['rm_refresh'])?$config['setting']['rm_refresh']:0; ?>" class="form-control" placeholder="请输入价格">
                                                <span class="input-group-addon">元</span>
                                            </div>
                                        </div>
                                    </div>
                                   
                                </div>





            			<div class="form-group">
                <div class="col-sm-6 col-xs-12 col-sm-offset-2">
                    <button type="button" name="submit" class="btn btn-primary">&#x63D0;&#x4EA4;</button>
                </div>
                <?php else: ?>
            		<div class="col-sm-12" style="font-size:20px;text-align:center;">
            			
                	欢迎登录后台！
            		</div>
                <?php endif; ?>
            </div>
            </form>
        </div>
        <script type="text/javascript">
            $(function () {
                //&#x63D0;&#x4EA4;&#x5206;&#x7C7B;&#x4FE1;&#x606F;
                $("button[name='submit']").click(function () {
                    $.post(
                        window.location.href,
                        $('#post_form').serialize(),
                        function (res) {
                            message(res.message,res.redirect,res.type)
                        },'json'
                    );
                });
            });
        </script>
</div>
<!-- /.nav-tabs-custom -->
</div>
<!-- /.col -->
</div>
</section>
</div>
            <!-- /.content-wrapper -->
            <footer class="main-footer">
                <div class="pull-right hidden-xs">
				</div>
                <strong>闲猫系统</strong>
            </footer>
            <div class="control-sidebar-bg"></div>
        </div>
    </body>
</html>

